<div id="content">
	<div style="margin-bottom:15px;">Tokens für die Umfrage <?=$aFormDetails['name'];?></div>
	<div id="newToken">
		<a href="<?=$_SERVER['SCRIPT_NAME']."?f=".$_GET['f']."&n=1&c=".(isset($aTokens[0]['class'])?$aTokens[0]['class']:"");?>">	
			<img style="position:relative;top:3px;" src="../templates/img/add.png" alt="neues Token erstellen" title="neues Token ersetllen" />neues Token
		</a><br />
		<a href="teacher.php"><img src="../templates/img/back.png" alt="" title="" width=16px/>Zurück</a>
	</div>
	<?php
	if(is_array($aTokens)){
		for($i=0; $i<count($aTokens);$i++){
			$sStyle = ($aTokens[$i]['used']==1?"token_stroked":"token");
			echo "<div class='".$sStyle."'>".($i==0?"<img src='../templates/img/shissor.png' alt='' title='' />":"").$aTokens[$i]['token']."</div>";
		} 
	}
	?>
</div>


